package com.Shuang.Hospital;

import java.time.LocalDate;
import java.time.LocalTime;

//每个医生的工作日期表,一周七天，从当天开始往后在排六天
public class Schedule {
    private LocalDate today;
    private boolean update;  //用于判断是否修改过排班信息，如：前四天过期删掉了，后面新增进来的天数4都应该是没修改过的默认就显示未排班
    //上午
    private boolean morning;  //用于判断上午是否排班
    private LocalTime mstart;  //上午开始上班的时间
    private LocalTime mend;
    private int mAppointTotalNumber;  //上午能够预约的总人数
    private int mAppointNumer;  //上午预约实际人数
    //下午
    private boolean afternoon;  //用于判断下午是否排班
    private LocalTime astart;  //下午开始上班的时间
    private LocalTime aend;
    private int aAppointTotalNumber;  //下午能够预约的总人数
    private int aAppointNumer;  //下午预约实际人数

    public boolean isUpdate() {
        return update;
    }

    public void setUpdate(boolean update) {
        this.update = update;
    }

    public LocalDate getToday() {
        return today;
    }

    public void setToday(LocalDate today) {
        this.today = today;
    }

    public boolean isMorning() {
        return morning;
    }

    public void setMorning(boolean morning) {
        this.morning = morning;
    }

    public LocalTime getMstart() {
        return mstart;
    }

    public void setMstart(LocalTime mstart) {
        this.mstart = mstart;
    }

    public LocalTime getMend() {
        return mend;
    }

    public void setMend(LocalTime mend) {
        this.mend = mend;
    }

    public int getmAppointTotalNumber() {
        return mAppointTotalNumber;
    }

    public void setmAppointTotalNumber(int mAppointTotalNumber) {
        this.mAppointTotalNumber = mAppointTotalNumber;
    }

    public int getmAppointNumer() {
        return mAppointNumer;
    }

    public void setmAppointNumer(int mAppointNumer) {
        this.mAppointNumer = mAppointNumer;
    }

    public boolean isAfternoon() {
        return afternoon;
    }

    public void setAfternoon(boolean afternoon) {
        this.afternoon = afternoon;
    }

    public LocalTime getAstart() {
        return astart;
    }

    public void setAstart(LocalTime astart) {
        this.astart = astart;
    }

    public LocalTime getAend() {
        return aend;
    }

    public void setAend(LocalTime aend) {
        this.aend = aend;
    }

    public int getaAppointTotalNumber() {
        return aAppointTotalNumber;
    }

    public void setaAppointTotalNumber(int aAppointTotalNumber) {
        this.aAppointTotalNumber = aAppointTotalNumber;
    }

    public int getaAppointNumer() {
        return aAppointNumer;
    }

    public void setaAppointNumer(int aAppointNumer) {
        this.aAppointNumer = aAppointNumer;
    }
}
